package com.pkk.penguin.frame.know.shiro.shirodemo.util.security;

import com.pkk.penguin.frame.know.shiro.shirodemo.springversion.service.TbUserService;
import javax.annotation.Resource;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import org.apache.shiro.web.filter.PathMatchingFilter;


/**
 * 自定义用户过滤器
 *
 * @author 胡汉三
 */
public class SysUserFilter extends PathMatchingFilter {

  @Resource
  private TbUserService tbUserService;

  @Override
  protected boolean onPreHandle(ServletRequest request, ServletResponse response, Object mappedValue) throws Exception {
    //可以参考http://jinnianshilongnian.iteye.com/blog/2025656
    return true;
  }


}
